export const formComponentConfig = {
  selectLike: () =>
    import('@/common/views/baseComponent/formComp/selectLike.vue'),
};
export const formRenderKeys = [
  'categorycode',
  'Procurementcategory',
  'categorycode1',
  'categorycode2',
  'categorycode3',
  'categorycode4',
];

export const formRenderConfig = {
  categorycode: {
    label: '加工内容编码',
    field: 'machiningCode',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入加工内容编码',
    },
  },
  categorycode1: {
    label: '加工内容名称',
    field: 'machiningName',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入加工内容名称',
    },
  },
  Procurementcategory: {
    label: '制单状态',
    width: '200px',
    field: 'documentPreparationStatus',
    componentName: 'dictSelect',
    componentProps: {
      allowClear: 'true',
      dictType: 'DocumentPreparation',
    },
  },
  categorycode2: {
    label: '一级品类名称',
    field: 'categoryLv1',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入一级品类名称',
    },
  },
  categorycode3: {
    label: '二级品类名称',
    field: 'categoryLv2',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入二级品类名称',
    },
  },
  categorycode4: {
    label: '三级品类名称',
    field: 'categoryLv3',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入三级品类名称',
    },
  },
};
